<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    function add(a,b){
        return a+b;
    }
    function MyFunction(){
        alert("Hello World!");
    }
    function MyFunction2(name, age){
        alert("用户：" + name+"，你今年"+age + "岁");
    }
</script>
<body>
<button onclick="MyFunction2('Harry Potter','Wizard')">点击我</button>
</body>
</html>

